import requests

session = requests.session()
print(session)

session.post("https://vip.hdbz.net/auth/ajaxlogin",data={
    "username": "15138001200",
	"userpwd": "pckzzy101"
})
# 登录之后就保存了用户的cookie
print(session.cookies)

res = session.get('https://vip.hdbz.net/site/downloadlist?page=1&limit=10')
print(res.json())

res = session.get("https://vip.hdbz.net/auth/loginout",allow_redirects=False)
print(session.cookies,res)